package com.sunda.spmsoversea.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 出库任务表明细
 * </p>
 *
 * @author Wayne
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OVERSEA_WHS_OUT_DTL")
@ApiModel(value="OverseaWhsOutDtl对象", description="出库任务表明细")
public class OverseaWhsOutDtl implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "出库任务表明细自增ID")
    @TableId(value = "AUTO_ID_WHS_OUT_DTL", type = IdType.AUTO)
    private Integer autoIdWhsOutDtl;

    @ApiModelProperty(value = "出库任务UUID")
    @TableField("UUID_WHS_OUT")
    private String uuidWhsOut;

    @ApiModelProperty(value = "明细行号")
    @TableField("ITEM")
    private Integer item;

    @ApiModelProperty(value = "工厂代码")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "车间代码")
    @TableField("WORKSHOP_CODE")
    private String workshopCode;

    @ApiModelProperty(value = "仓库地点代码")
    @TableField("WHS_LOCATION_CODE")
    private String whsLocationCode;

    @ApiModelProperty(value = "物料编号")
    @TableField("MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value = "应出基本单位数量")
    @TableField("ISSUE_QTY_BASIC_UNIT")
    private Double issueQtyBasicUnit;

    @ApiModelProperty(value = "实际基本单位数量")
    @TableField("ACTUAL_QTY_BASIC_UNIT")
    private Double actualQtyBasicUnit;

    @ApiModelProperty(value = "基本单位")
    @TableField("BASIC_UNIT")
    private String basicUnit;

    @ApiModelProperty(value = "应出销售单位数量")
    @TableField("ISSUE_QTY_UNIT_SALES")
    private Double issueQtyUnitSales;

    @ApiModelProperty(value = "实际销售单位数量")
    @TableField("ACTUAL_QTY_UNIT_SALES")
    private Double actualQtyUnitSales;

    @ApiModelProperty(value = "销售单位")
    @TableField("UNIT_SALES")
    private String unitSales;

    @ApiModelProperty(value = "明细备注")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "储位信息")
    @TableField("STORAGE_INFO")
    private String storageInfo;

    @ApiModelProperty(value = "移动类型")
    @TableField("MOVEMENT_TYPE")
    private String movementType;

    @ApiModelProperty(value = "关联单号/领用申请单号")
    @TableField("RELATE_DOCUMENT")
    private String relateDocument;

    @ApiModelProperty(value = "关联单号/领用申请单号明细行号")
    @TableField("RELATE_DOCUMENT_ITEM")
    private String relateDocumentItem;


}
